<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>学习空间-后台管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="13级中职升本">
    <link rel="shortcut icon" href="__PUBLIC__/assets/ico/favicon.html">
    <link href="__PUBLIC__/assets/css/bootstrap.css" rel="stylesheet">
    <link href="__PUBLIC__/assets/css/theme.css" rel="stylesheet">
    <link href="__PUBLIC__/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="__PUBLIC__/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="__PUBLIC__/favicon.ico">
    <link href="http://fonts.useso.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/assets/img/logo.png" alt="学习空间后台管理">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">

            <ul class="pull-right">  
              <li><a href="login.html"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

    <include file="sidemenu"/>

      <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">

          <h2 class="heading">
              用户管理
          </h2>
        </div> <!-- /row-fluid -->

        
<!--此处往下为代码改写部分-->
        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>用户列表</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">
                <thead>
                  <tr>
        <td>用户名</td>

        <td>学号</td>

        <td>姓名</td>

        <td>电话</td>

        <td>邮箱</td>

        <td>个人头像</td>

        <td>注册时间</td>
        <td>操作</td>
                  </tr>
				  </thead>
				  <tbody>
<volist name="users" id="vo">
    <tr>

        <td>{$vo.username}</td>

        <td>{$vo.stunum}</td>

        <td>{$vo.realname}</td>

        <td>{$vo.tele}</td>

        <td>{$vo.email}</td>

        <td><img src="__PUBLIC__/Uploads/photo/{$vo.photo}" width="100" height="100"></td>

        <td>{$vo.regtime|substr=###,0,10}</td>

     <td>
                 <div class="btn-group">
                        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        Action
                          <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">
                          <li><a href="__URL__/edituser/id/{$vo.id}"><i class="icon-edit"></i>修改</a></li>
                          <li><a href="__URL__/deluser/id/{$vo.id}"><i class="icon-trash"></i>删除</a></li>
						  </ul>
                      </div>
    </td>
	</tr>
</volist>
                 
                </tbody>
              </table>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

      </div>
      <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->
<!--代码体结束-->
    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Add user/employee</h3>
      </div>
      <div class="modal-body">
        <p>Here you can insert the user creation form</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>  

    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='__PUBLIC__/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='__PUBLIC__/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="__PUBLIC__/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='__PUBLIC__/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='__PUBLIC__/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/assets/js/realm.js"></script>
  </body>
</html>
